package com.mySchool.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;

/**
* 封装分页结果
*/
@AllArgsConstructor
@NoArgsConstructor
@Data
public class PageResult<T> {
    // 总记录数
    private Long total;

    // 当前页的数据
    private List<T> rows;
}
